<template>
  <div class="app-container report-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="扩增曲线" name="first">
        <curve />
      </el-tab-pane>
      <el-tab-pane label="实验数据" name="second">
        <test-data />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import curve from './components/curve.vue'
import testData from './components/testData.vue'
export default {
  name: 'Report',
  components: { curve, testData },
  data() {
    return {
      activeName: 'first',
      id: ''
    }
  },
  mounted() {
    this.id = this.$route.params.id
    console.log(this.id)
  },
  methods: {
    handleClick() {}
  }
}
</script>

<style lang="scss">
  .report-container {
    // .el-tabs,.el-tabs__content,.el-tab-pane{
    //   height: 100%;
    // }
  }
</style>
